package com.kh.first.dao;

import com.kh.first.pojo.ProductReportPojo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductReportDao {
    Long saveProductReport(ProductReportPojo productReportPojo);

    ProductReportPojo getProductReportById(Long id);

    List<ProductReportPojo> getProductReportList(ProductReportPojo productReportPojo);

    List<ProductReportPojo> getProductReportByCreateUserId(String createUserId);

    Long updateProductReportById(ProductReportPojo productReportPojo);

    List<ProductReportPojo> getProductReportByIoUser(String userPinYin);
}
